package org.feng.api.animal.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import java.io.Serial;
import java.io.Serializable;
import java.util.List;

/**
 * 删除动物请求对象
 *
 * @author feng
 */
@Data
@ApiModel(description = "删除动物请求对象")
public class DeleteAnimalRequest implements Serializable {
    @Serial
    private static final long serialVersionUID = 4700951821581994370L;

    @NotEmpty(message = "id列表不能为空")
    @ApiModelProperty(name = "ids", value = "id列表", required = true)
    private List<Long> ids;
}
